package com.lianxi.nmms.entity;

public class Product {

//    private String productTypeName;
//    private Integer productStatus;
//
//    public String getProductTypeName() {
//        return productTypeName;
//    }
//
//    public void setProductTypeName(String productTypeName) {
//        this.productTypeName = productTypeName;
//    }
//
//    public Integer getProductStatus() {
//        return productStatus;
//    }
//
//    public void setProductStatus(Integer productStatus) {
//        this.productStatus = productStatus;
//    }

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column sys_product.id
     *
     * @mbggenerated Mon Sep 29 11:08:42 CST 2025
     */
    private Integer id;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column sys_product.no
     *
     * @mbggenerated Mon Sep 29 11:08:42 CST 2025
     */
    private String no;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column sys_product.name
     *
     * @mbggenerated Mon Sep 29 11:08:42 CST 2025
     */
    private String name;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column sys_product.price
     *
     * @mbggenerated Mon Sep 29 11:08:42 CST 2025
     */
    private Double price;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column sys_product.description
     *
     * @mbggenerated Mon Sep 29 11:08:42 CST 2025
     */
    private String description;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column sys_product.image
     *
     * @mbggenerated Mon Sep 29 11:08:42 CST 2025
     */
    private String image;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column sys_product.product_type_id
     *
     * @mbggenerated Mon Sep 29 11:08:42 CST 2025
     */
    private Integer productTypeId;

    private ProductType type;

    public ProductType getType() {
        return type;
    }

    public void setType(ProductType type) {
        this.type = type;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column sys_product.id
     *
     * @return the value of sys_product.id
     *
     * @mbggenerated Mon Sep 29 11:08:42 CST 2025
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column sys_product.id
     *
     * @param id the value for sys_product.id
     *
     * @mbggenerated Mon Sep 29 11:08:42 CST 2025
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column sys_product.no
     *
     * @return the value of sys_product.no
     *
     * @mbggenerated Mon Sep 29 11:08:42 CST 2025
     */
    public String getNo() {
        return no;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column sys_product.no
     *
     * @param no the value for sys_product.no
     *
     * @mbggenerated Mon Sep 29 11:08:42 CST 2025
     */
    public void setNo(String no) {
        this.no = no == null ? null : no.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column sys_product.name
     *
     * @return the value of sys_product.name
     *
     * @mbggenerated Mon Sep 29 11:08:42 CST 2025
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column sys_product.name
     *
     * @param name the value for sys_product.name
     *
     * @mbggenerated Mon Sep 29 11:08:42 CST 2025
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column sys_product.price
     *
     * @return the value of sys_product.price
     *
     * @mbggenerated Mon Sep 29 11:08:42 CST 2025
     */
    public Double getPrice() {
        return price;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column sys_product.price
     *
     * @param price the value for sys_product.price
     *
     * @mbggenerated Mon Sep 29 11:08:42 CST 2025
     */
    public void setPrice(Double price) {
        this.price = price;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column sys_product.description
     *
     * @return the value of sys_product.description
     *
     * @mbggenerated Mon Sep 29 11:08:42 CST 2025
     */
    public String getDescription() {
        return description;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column sys_product.description
     *
     * @param description the value for sys_product.description
     *
     * @mbggenerated Mon Sep 29 11:08:42 CST 2025
     */
    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column sys_product.image
     *
     * @return the value of sys_product.image
     *
     * @mbggenerated Mon Sep 29 11:08:42 CST 2025
     */
    public String getImage() {
        return image;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column sys_product.image
     *
     * @param image the value for sys_product.image
     *
     * @mbggenerated Mon Sep 29 11:08:42 CST 2025
     */
    public void setImage(String image) {
        this.image = image == null ? null : image.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column sys_product.product_type_id
     *
     * @return the value of sys_product.product_type_id
     *
     * @mbggenerated Mon Sep 29 11:08:42 CST 2025
     */
    public Integer getProductTypeId() {
        return productTypeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column sys_product.product_type_id
     *
     * @param productTypeId the value for sys_product.product_type_id
     *
     * @mbggenerated Mon Sep 29 11:08:42 CST 2025
     */
    public void setProductTypeId(Integer productTypeId) {
        this.productTypeId = productTypeId;
    }
}